Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing HGCal Hexagonal Geometry Round 1 #13038

Merged
merged 3 commits into from
Jan 25, 2016
Merged

Conversation

lgray
Copy link
Contributor

@lgray lgray commented Jan 22, 2016

This PR fixes a number of bugs in the HGCal geometry.
Previous to this PR the HGCal Hex geometry did not produce simhits.

  • Set the silicon as the sensitive detector to read out.
  • Logically factorize EE and HE cells and wafers so they can be read out separately.
  • Fix packing of hexagon indices to be compatible with the ranges of wafers/cells/layers encountered
  • Speed ups to the DDD constants class

Event display for RECO geometry of pT = 35 GeV electron seems to be OK.
screen shot 2016-01-22 at 18 30 39
Likewise, energy distributions look good now.
screen shot 2016-01-22 at 16 24 57

While simulating, there are still invalid detids encountered in the sensitive detector, so I do not think we are done yet.

@bsunanda

@cmsbuild cmsbuild added this to the Next CMSSW_8_0_X milestone Jan 22, 2016
@lgray
Copy link
Contributor Author

lgray commented Jan 22, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_8_0_X.

It involves the following packages:

Geometry/HGCalCommonData
Geometry/HGCalGeometry
Geometry/HGCalSimData
SimDataFormats/CaloTest
SimG4CMS/Calo

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @makortel this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10684/console

@lgray
Copy link
Contributor Author

lgray commented Jan 22, 2016

@sethzenz @kpedro88 @cseez

@cmsbuild
Copy link
Contributor

-1
Tested at: 9a6e3db
I found an error when building:

>> Compiling  /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HFShowerLibrary.cc 
>> Compiling  /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HFShowerPMT.cc 
>> Compiling  /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HFShowerParam.cc 
>> Compiling  /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HGCNumberingScheme.cc 
/tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HGCNumberingScheme.cc: In member function 'uint32_t HGCNumberingScheme::getUnitID(ForwardSubdetector, int, int, int, int, const G4ThreeVector&)':
/tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HGCNumberingScheme.cc:48:14: error: 'hgcons' was not declared in this scope
     wafer =  hgcons->waferFromCopy(module);
              ^
/tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-21-2300/src/SimG4CMS/Calo/src/HGCNumberingScheme.cc:58:11: error: 'check_' was not declared in this scope
       if (check_) {
           ^


you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13038/10684/summary.html

@lgray
Copy link
Contributor Author

lgray commented Jan 22, 2016

oops, forgot a commit.

@lgray
Copy link
Contributor Author

lgray commented Jan 22, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10685/console

@cmsbuild
Copy link
Contributor

Pull request #13038 was updated. @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @davidlange6 can you please check and sign again.

@cmsbuild
Copy link
Contributor

-1

Tested at: 2295abc
I found errors in the following unit tests:

---> test runtestSimCalorimetryHGCalSimProducers had ERRORS

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13038/10685/summary.html

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #13038 was updated. @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @davidlange6 can you please check and sign again.

@lgray
Copy link
Contributor Author

lgray commented Jan 23, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10689/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@ianna
Copy link
Contributor

ianna commented Jan 24, 2016

+1

@civanch
Copy link
Contributor

civanch commented Jan 25, 2016

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Jan 25, 2016
Fixing HGCal Hexagonal Geometry Round 1
@cmsbuild cmsbuild merged commit 99264dd into cms-sw:CMSSW_8_0_X Jan 25, 2016
cmsbuild added a commit that referenced this pull request Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants